<template>
  <el-dialog v-model="dialogVisible" title="数模状态清单对比强度数模清单摘要" width="1200px" append-to-body>
    <el-descriptions>
      <el-descriptions-item label="删除零组件：">{{ datas.DELETE }}个</el-descriptions-item>
      <el-descriptions-item label="新增零组件：">{{ datas.ADD }}个</el-descriptions-item>
      <el-descriptions-item label="建模升版零组件：">{{ datas.MODEL_UPGRADE }}个</el-descriptions-item>
      <el-descriptions-item label="建模升号零组件：">{{ datas.NUMBER }}个</el-descriptions-item>
      <!-- <el-descriptions-item label="简单复制升版零组件">{{ datas }}个 </el-descriptions-item> -->
      <el-descriptions-item label="不变零组件：">{{ datas.SAME }}个 </el-descriptions-item>
    </el-descriptions>
    <template #footer>
      <div class="dialog-footer">
        <el-button @click="handleCancel">取 消</el-button>
      </div>
    </template>
  </el-dialog>
</template>

<script setup name="LogDialog" lang="ts">
const { datas } = defineProps({
  datas: Object
});
const emit = defineEmits(['on-close', 'on-sure']);
const dialogVisible = ref(true);
const handleCancel = () => {
  emit('on-close');
};
</script>

<style></style>
